package com.ruoyi.syrw.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.syrw.domain.vo.BaReportGroupDetailVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试验任务预选分组主业务对象 syrw_bs_report_group
 *
 * @author zyb
 * @date 2024-06-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BsReportGroupBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 所属用户id暂不使用
     */
    private Long userId;

    /**
     * 所属试验室id
     */
    @NotNull(message = "所属试验室id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 试验类型id
     */
    @NotNull(message = "试验类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long syTypeId;

    /**
     * 试验任务预设分组名称
     */
    @NotBlank(message = "试验任务预设分组名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String groupName;


    /**
     * excel类型Ids
     */
    List<Long> excelTypeIdList;


}
